package com.uzai.console.mapper;

import com.uzai.console.entity.PyqFollowContent;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PyqFollowContentMapper {
    int deleteById(Long id);

    int deleteBeforeDay(@Param("beforeDay") Integer beforeDay);

    int insert(PyqFollowContent record);

    int insertSelective(PyqFollowContent record);

    PyqFollowContent selectById(Long id);

    PyqFollowContent selectByDeviceUniqueIdAndFollowedSnsId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("followedSnsId") String followedSnsId);

    int updateByIdSelective(PyqFollowContent record);

    int updateById(PyqFollowContent record);
}